function T = dynamic_g3_tt(T, y, x, params, steady_state, it_)
% function T = dynamic_g3_tt(T, y, x, params, steady_state, it_)
%
% File created by Dynare Preprocessor from .mod file
%
% Inputs:
%   T             [#temp variables by 1]     double  vector of temporary terms to be filled by function
%   y             [#dynamic variables by 1]  double  vector of endogenous variables in the order stored
%                                                    in M_.lead_lag_incidence; see the Manual
%   x             [nperiods by M_.exo_nbr]   double  matrix of exogenous variables (in declaration order)
%                                                    for all simulation periods
%   steady_state  [M_.endo_nbr by 1]         double  vector of steady state values
%   params        [M_.param_nbr by 1]        double  vector of parameter values in declaration order
%   it_           scalar                     double  time period for exogenous variables for which
%                                                    to evaluate the model
%
% Output:
%   T           [#temp variables by 1]       double  vector of temporary terms
%

assert(length(T) >= 85);

T = M15hr.dynamic_g2_tt(T, y, x, params, steady_state, it_);

T(70) = (y(7)+y(7))/(y(7)*y(7)*y(7)*y(7));
T(71) = getPowerDeriv(y(4),1-y(12),3);
T(72) = getPowerDeriv(y(4),(-y(12)),3);
T(73) = y(4)^(1-y(12)-2);
T(74) = y(4)^((-y(12))-2);
T(75) = (1-y(12))*T(35)*T(35)*T(45)-T(35)*T(45)-T(35)*T(45);
T(76) = (y(7)*y(7)*y(7)*y(7)*(-(2*(-y(3))))-(-((-y(3))*(y(7)+y(7))))*(y(7)*y(7)*(y(7)+y(7))+y(7)*y(7)*(y(7)+y(7))))/(y(7)*y(7)*y(7)*y(7)*y(7)*y(7)*y(7)*y(7));
T(77) = (T(2)*T(35)*2*(y(12)-1)+T(3)*T(35)*T(2)*T(35)-(T(2)*T(35)*2*(y(12)-1)+2*(T(2)-1)))*(T(3)*2*(y(12)-1)+T(3)*2*(y(12)-1));
T(78) = getPowerDeriv(y(14),1-y(15),3);
T(79) = y(14)^(1-y(15)-2);
T(80) = y(14)^((-y(15))-2);
T(81) = (1-y(15))*T(37)*T(37)*T(58)-T(37)*T(58)-T(37)*T(58);
T(82) = (y(5)*y(5)*y(5)*y(5)*(-(2*(-y(13))))-(-((-y(13))*(y(5)+y(5))))*(y(5)*y(5)*(y(5)+y(5))+y(5)*y(5)*(y(5)+y(5))))/(y(5)*y(5)*y(5)*y(5)*y(5)*y(5)*y(5)*y(5));
T(83) = (T(7)*T(37)*2*(y(15)-1)+T(8)*T(37)*T(7)*T(37)-(T(7)*T(37)*2*(y(15)-1)+2*(T(7)-1)))*(T(8)*2*(y(15)-1)+T(8)*2*(y(15)-1));
T(84) = getPowerDeriv(y(1),params(4),3);
T(85) = getPowerDeriv(y(7),1-params(4),3);

end
